package com.ruoyi.dash.domain;

import org.apache.commons.lang3.builder.ToStringBuilder;
import org.apache.commons.lang3.builder.ToStringStyle;
import com.ruoyi.common.annotation.Excel;
import com.ruoyi.common.core.domain.BaseEntity;

/**
 * 动态数据配置对象 tb_dynamic_data_config
 * 
 * @author ruoyi
 * @date 2025-10-22
 */
public class TbDynamicDataConfig extends BaseEntity
{
    private static final long serialVersionUID = 1L;

    /** 主键ID */
    private Long id;

    /** 别名(给前端的标识) */
    @Excel(name = "别名(给前端的标识)")
    private String alias;

    /** 模块名 */
    @Excel(name = "模块名")
    private String moduleName;

    /** 动态配置内容（建议存储JSON格式字符串，便于解析） */
    @Excel(name = "动态配置内容", readConverterExp = "建=议存储JSON格式字符串，便于解析")
    private String content;

    public void setId(Long id) 
    {
        this.id = id;
    }

    public Long getId() 
    {
        return id;
    }

    public void setAlias(String alias) 
    {
        this.alias = alias;
    }

    public String getAlias() 
    {
        return alias;
    }

    public void setModuleName(String moduleName) 
    {
        this.moduleName = moduleName;
    }

    public String getModuleName() 
    {
        return moduleName;
    }

    public void setContent(String content) 
    {
        this.content = content;
    }

    public String getContent() 
    {
        return content;
    }

    @Override
    public String toString() {
        return new ToStringBuilder(this,ToStringStyle.MULTI_LINE_STYLE)
            .append("id", getId())
            .append("alias", getAlias())
            .append("moduleName", getModuleName())
            .append("content", getContent())
            .append("createTime", getCreateTime())
            .append("updateTime", getUpdateTime())
            .toString();
    }
}
